<!-- HTML header for doxygen 1.8.6-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<title>OpenCV: cv::img_hash Namespace Reference</title>
<link href="../../opencv.ico" rel="shortcut icon" type="image/x-icon" />
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<script type="text/javascript" src="../../tutorial-utils.js"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/x-mathjax-config">
  MathJax.Hub.Config({
    extensions: ["tex2jax.js", "TeX/AMSmath.js", "TeX/AMSsymbols.js"],
    jax: ["input/TeX","output/HTML-CSS"],
});
//<![CDATA[
MathJax.Hub.Config(
{
  TeX: {
      Macros: {
          matTT: [ "\\[ \\left|\\begin{array}{ccc} #1 & #2 & #3\\\\ #4 & #5 & #6\\\\ #7 & #8 & #9 \\end{array}\\right| \\]", 9],
          fork: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ \\end{array} \\right.", 4],
          forkthree: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ #5 & \\mbox{#6}\\\\ \\end{array} \\right.", 6],
          forkfour: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ #5 & \\mbox{#6}\\\\ #7 & \\mbox{#8}\\\\ \\end{array} \\right.", 8],
          vecthree: ["\\begin{bmatrix} #1\\\\ #2\\\\ #3 \\end{bmatrix}", 3],
          vecthreethree: ["\\begin{bmatrix} #1 & #2 & #3\\\\ #4 & #5 & #6\\\\ #7 & #8 & #9 \\end{bmatrix}", 9],
          cameramatrix: ["#1 = \\begin{bmatrix} f_x & 0 & c_x\\\\ 0 & f_y & c_y\\\\ 0 & 0 & 1 \\end{bmatrix}", 1],
          distcoeffs: ["(k_1, k_2, p_1, p_2[, k_3[, k_4, k_5, k_6 [, s_1, s_2, s_3, s_4[, \\tau_x, \\tau_y]]]]) \\text{ of 4, 5, 8, 12 or 14 elements}"],
          distcoeffsfisheye: ["(k_1, k_2, k_3, k_4)"],
          hdotsfor: ["\\dots", 1],
          mathbbm: ["\\mathbb{#1}", 1],
          bordermatrix: ["\\matrix{#1}", 1]
      }
  }
}
);
//]]>
</script><script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
<link href="../../stylesheet.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<!--#include virtual="/google-search.html"-->
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="../../opencv-logo-small.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">OpenCV
   &#160;<span id="projectnumber">4.5.2</span>
   </div>
   <div id="projectbrief">Open Source Computer Vision</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</script>
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('../../',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="../../d2/d75/namespacecv.html">cv</a></li><li class="navelem"><a class="el" href="../../de/d85/namespacecv_1_1img__hash.html">img_hash</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#enum-members">Enumerations</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">cv::img_hash Namespace Reference</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d25/classcv_1_1img__hash_1_1AverageHash.html">AverageHash</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Computes average hash value of the input image.  <a href="../../db/d25/classcv_1_1img__hash_1_1AverageHash.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/d55/classcv_1_1img__hash_1_1BlockMeanHash.html">BlockMeanHash</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Image hash based on block mean.  <a href="../../df/d55/classcv_1_1img__hash_1_1BlockMeanHash.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/d52/classcv_1_1img__hash_1_1ColorMomentHash.html">ColorMomentHash</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Image hash based on color moments.  <a href="../../df/d52/classcv_1_1img__hash_1_1ColorMomentHash.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/d29/classcv_1_1img__hash_1_1ImgHashBase.html">ImgHashBase</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">The base class for image hash algorithms.  <a href="../../de/d29/classcv_1_1img__hash_1_1ImgHashBase.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d00/classcv_1_1img__hash_1_1MarrHildrethHash.html">MarrHildrethHash</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Marr-Hildreth Operator Based Hash, slowest but more discriminative.  <a href="../../dd/d00/classcv_1_1img__hash_1_1MarrHildrethHash.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/d4e/classcv_1_1img__hash_1_1PHash.html">PHash</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">pHash  <a href="../../df/d4e/classcv_1_1img__hash_1_1PHash.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d97/classcv_1_1img__hash_1_1RadialVarianceHash.html">RadialVarianceHash</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Image hash based on Radon transform.  <a href="../../d5/d97/classcv_1_1img__hash_1_1RadialVarianceHash.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
Enumerations</h2></td></tr>
<tr class="memitem:ga2f6c70af3b4924b4eea07cfa25ce0962"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d93/group__img__hash.html#ga2f6c70af3b4924b4eea07cfa25ce0962">BlockMeanHashMode</a> { <br />
&#160;&#160;<a class="el" href="../../d4/d93/group__img__hash.html#gga2f6c70af3b4924b4eea07cfa25ce0962a6f674fdb0f63d5d2f927cafbbf7f2707">BLOCK_MEAN_HASH_MODE_0</a> = 0, 
<br />
&#160;&#160;<a class="el" href="../../d4/d93/group__img__hash.html#gga2f6c70af3b4924b4eea07cfa25ce0962acd4cad53c6ffadcceffdf145c2039859">BLOCK_MEAN_HASH_MODE_1</a> = 1
<br />
 }</td></tr>
<tr class="separator:ga2f6c70af3b4924b4eea07cfa25ce0962"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga482a3fdcb92bfff57cdc2aed2b5bc47e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d93/group__img__hash.html#ga482a3fdcb92bfff57cdc2aed2b5bc47e">averageHash</a> (<a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">cv::InputArray</a> inputArr, <a class="el" href="../../dc/d84/group__core__basic.html#gaad17fda1d0f0d1ee069aebb1df2913c0">cv::OutputArray</a> outputArr)</td></tr>
<tr class="memdesc:ga482a3fdcb92bfff57cdc2aed2b5bc47e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Calculates <a class="el" href="../../db/d25/classcv_1_1img__hash_1_1AverageHash.html" title="Computes average hash value of the input image. ">img_hash::AverageHash</a> in one call.  <a href="../../d4/d93/group__img__hash.html#ga482a3fdcb92bfff57cdc2aed2b5bc47e">More...</a><br /></td></tr>
<tr class="separator:ga482a3fdcb92bfff57cdc2aed2b5bc47e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga33aaedc557653d1d541a78bbc119b116"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d93/group__img__hash.html#ga33aaedc557653d1d541a78bbc119b116">blockMeanHash</a> (<a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">cv::InputArray</a> inputArr, <a class="el" href="../../dc/d84/group__core__basic.html#gaad17fda1d0f0d1ee069aebb1df2913c0">cv::OutputArray</a> outputArr, int mode=<a class="el" href="../../d4/d93/group__img__hash.html#gga2f6c70af3b4924b4eea07cfa25ce0962a6f674fdb0f63d5d2f927cafbbf7f2707">BLOCK_MEAN_HASH_MODE_0</a>)</td></tr>
<tr class="memdesc:ga33aaedc557653d1d541a78bbc119b116"><td class="mdescLeft">&#160;</td><td class="mdescRight">Computes block mean hash of the input image.  <a href="../../d4/d93/group__img__hash.html#ga33aaedc557653d1d541a78bbc119b116">More...</a><br /></td></tr>
<tr class="separator:ga33aaedc557653d1d541a78bbc119b116"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac2b55a4cec31a709cee9f9cdd6b933f7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d93/group__img__hash.html#gac2b55a4cec31a709cee9f9cdd6b933f7">colorMomentHash</a> (<a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">cv::InputArray</a> inputArr, <a class="el" href="../../dc/d84/group__core__basic.html#gaad17fda1d0f0d1ee069aebb1df2913c0">cv::OutputArray</a> outputArr)</td></tr>
<tr class="memdesc:gac2b55a4cec31a709cee9f9cdd6b933f7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Computes color moment hash of the input, the algorithm is come from the paper "Perceptual  Hashing  for  Color  Images
Using  Invariant Moments".  <a href="../../d4/d93/group__img__hash.html#gac2b55a4cec31a709cee9f9cdd6b933f7">More...</a><br /></td></tr>
<tr class="separator:gac2b55a4cec31a709cee9f9cdd6b933f7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf849522d808a8ef9ae2ed9422cf236b7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d93/group__img__hash.html#gaf849522d808a8ef9ae2ed9422cf236b7">marrHildrethHash</a> (<a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">cv::InputArray</a> inputArr, <a class="el" href="../../dc/d84/group__core__basic.html#gaad17fda1d0f0d1ee069aebb1df2913c0">cv::OutputArray</a> outputArr, float alpha=2.0f, float scale=1.0f)</td></tr>
<tr class="memdesc:gaf849522d808a8ef9ae2ed9422cf236b7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Computes average hash value of the input image.  <a href="../../d4/d93/group__img__hash.html#gaf849522d808a8ef9ae2ed9422cf236b7">More...</a><br /></td></tr>
<tr class="separator:gaf849522d808a8ef9ae2ed9422cf236b7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5eeee1e27bc45caffe3b529ab42568e3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d93/group__img__hash.html#ga5eeee1e27bc45caffe3b529ab42568e3">pHash</a> (<a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">cv::InputArray</a> inputArr, <a class="el" href="../../dc/d84/group__core__basic.html#gaad17fda1d0f0d1ee069aebb1df2913c0">cv::OutputArray</a> outputArr)</td></tr>
<tr class="memdesc:ga5eeee1e27bc45caffe3b529ab42568e3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Computes pHash value of the input image.  <a href="../../d4/d93/group__img__hash.html#ga5eeee1e27bc45caffe3b529ab42568e3">More...</a><br /></td></tr>
<tr class="separator:ga5eeee1e27bc45caffe3b529ab42568e3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab0df0c3a059f1498a256c16a9d582970"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d93/group__img__hash.html#gab0df0c3a059f1498a256c16a9d582970">radialVarianceHash</a> (<a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">cv::InputArray</a> inputArr, <a class="el" href="../../dc/d84/group__core__basic.html#gaad17fda1d0f0d1ee069aebb1df2913c0">cv::OutputArray</a> outputArr, double sigma=1, int numOfAngleLine=180)</td></tr>
<tr class="memdesc:gab0df0c3a059f1498a256c16a9d582970"><td class="mdescLeft">&#160;</td><td class="mdescRight">Computes radial variance hash of the input image.  <a href="../../d4/d93/group__img__hash.html#gab0df0c3a059f1498a256c16a9d582970">More...</a><br /></td></tr>
<tr class="separator:gab0df0c3a059f1498a256c16a9d582970"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
</div><!-- contents -->
<!-- HTML footer for doxygen 1.8.6-->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Fri Apr 2 2021 11:36:47 for OpenCV by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
<script type="text/javascript">
//<![CDATA[
addTutorialsButtons();
//]]>
</script>
</body>
</html>
